<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2019 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

//// ^2_3^ [ 应用入口文件 ]
///
namespace think;
//
///1/ 自动加载
require __DIR__ . '/../vendor/autoload.php';
//
///2/ 实例化系统应用基础类think\App
// 执行HTTP应用并响应
$http = (new App())->http;
//
///3/ 执行HTTP应用类的run方法启动一个HTTP应用
$response = $http->run();
//
///4/ 执行当前响应对象的send方法输出
$response->send();
//
///5/ 执行中间件的end回调
$http->end($response);
